# <ip> <port>
#1./etc/ssh/ssh_config add two option, to avoid heartbeat timeout.
##    TCPKeepAlive yes
##    ServerAliveInterval 300
##

if [ $# -ne 2 ];then
    echo "Usage:`basename $0` <ip> <port>"
    exit 0
fi
ip=$1
ssh_port=$2

ssh -fNL 8887:127.0.0.1:8887 $ip -l user -p $ssh_port


#2. git clone https://github.com/henices/Chrome-proxy-helper.git
#3. open chrome://extensions/
#4. Enable Developer mode
#5. Load unpacked from the step2 folder
#6. configure the http proxy with 127.0.0.1:8887